﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace StoreManager.Models
{   
    /// <summary>
    /// Class define all messages that used to show on the screen
    /// when the data is invalid
    /// </summary>
    public class MSG
    {
        static MSG()
        {
        }
        public const string REQUIRED = "Trường {0} là bắt buộc";
        public const string RANGE = "Trường {0} lớn hơn {1} và nhỏ hơn {2}";
        public const string STR_LENGTH_MIN = "The {0} must be at least {2} characters long.";
        public const string STR_LENGTH_MAX = "The {0} must be at least {2} characters long.";
    }
    public class SMConst{
        public const int PAGE_SIZE = 20;
    }
    public class SMGroupCodes
    {
        //Type of import/export transacti
        public const string IMPORT_TRANS = "IMPORT";//Import Transaction type
        public const string EXPORT_TRANS = "EXPORT";//Export Transaction type
        public const string PRODUCT_TYPES = "PROTYPE";//Product types
        public const string PACK_TYPES = "PACTYPE";//Package types
        public const string IMPORT_STATUS = "IMPSTAT";
        public const string CUSTOMER_STATUS = "CUSTSTAT";
        public const string SUPPLIER_STATUS = "SUPLSTAT";
    }
    public class SMCodes
    {
        //Type of import/export transacti
        public const string IMP_STATUS_CODE_VALID = "IMSTA01";//Import Transaction type
        public const string STAFF_STATUS_CODE_VALID = "STAF01";//Staff Status = "Đang Làm Việc"
        public const string CUST_STATUS_CODE_VALID = "CUST01";//Customer Status = "Đang Hoạt Động"
        public const string SUPL_STATUS_CODE_VALID = "SUPL01";//Supplier Status = "Đang Hoạt Động"
    }
}